# Description: Sürekli çarpışma algılama ve fizik kütüphanesi.
# URL: http://www.bulletphysics.com/
# Packager: milisarge
# Depends on: cmake freeglut

name=bullet
version=2.86
release=1
source=(https://github.com/bulletphysics/bullet3/archive/${version}.tar.gz)

build() {
	cd ${name}3-$version

	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DBUILD_SHARED_LIBS=ON \
		-DBUILD_CPU_DEMOS=OFF \
		-DBUILD_DEMOS=OFF \
		-DINSTALL_LIBS=ON \
		-DINSTALL_EXTRA_LIBS=ON .

	make
	make DESTDIR=$PKG install

}
